package speedball;

import javafx.scene.Group;

public class GroupManage {
	
	
	public static Group createGroup(double width,double height,double opacity) {
		Group group=new Group();
		group.minWidth(width);
		group.minHeight(height);
		group.maxWidth(width);
		group.maxHeight(height);
		group.prefWidth(width);
		group.prefHeight(height);

		group.setOpacity(opacity);
		return group;
	}
}
